home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000217-20000824
/
000428_news@columbia.edu _Fri Jul 21 14:40:59 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2000-08-23
|
2KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA18398
for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 21 Jul 2000 14:40:59 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA23739
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 21 Jul 2000 14:40:59 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA14463
for kermit.misc@watsun.cc.columbia.edu; Fri, 21 Jul 2000 14:16:45 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: K95 SCRIPTS WITH DIRECT SERIAL CONNECTION
Date: 21 Jul 2000 18:16:45 GMT
Organization: Columbia University
Message-ID: <8la42d$e3s$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <39789210.43E0A441@compuserve.com>,
Sandy Rosenberg <SandyRosenberg@compuserve.com> wrote:
: I am trying to write a K95 script to be used with a direct serial
: connection to my Alphaserver running openVMS. I want to automatically
: log in to the alpha, transfer a file, invoke a command, and log out. I
: have done this with dial up connections without a problem. With the
: direct connection however, the OUTPUT commands don't seem to go to the
: connected system - they come out in the command window instead. Any
: suggestions would be appreciated.
:
It probably means that the script did not succeed in opening the connection.
Make sure your script specifies the same COM port that the cable is connected
to, and that you have a null-modem cable (or a modem cable with a null-modem
adapter).
The script should go something like this:
set input echo on ; So you can watch what happens
set modem type none ; Tell K95 there is no modem
set carrier-watch off ; This might or might not be necessary
set port com1
if fail stop 1 SET PORT failed
set speed 19200 ; (or whatever)
output \13 ; Send carriage return
input 10 Username: ; Wait 10 seconds for Username: prompt
if fail stop 1 No Username: prompt
For a more fully elaborated example, see Chapter 19 of Using C-Kermit.
Also see Chapter 3 about direct serial connections.
- Frank